#include "Common.hpp"
#include "Http.hpp"
#include <cstdlib>
#include <memory>
#include <mutex>
#include <string>
int main(int argc, char* argv[]) {
    if(argc != 2) {
        std::cout << "The usage is " << argv[0] << " + port" << std::endl;
        exit(USAGE_ERR);
    }
    uint16_t port = stoi(argv[1]);
    std::unique_ptr<Http> ser = std::make_unique<Http>(port);
    ser->Start();
    return 0;
}